﻿using System;
using System.Text;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Data;
using Bangle.DBUtility;
namespace Bangle.DAL
{
    //T_Phone
    public partial class T_NodeDAL
    {
        /// <summary>
        /// 删除一条数据
        /// </summary>
        public bool Delete(string WhereString)
        {
            StringBuilder strSql = new StringBuilder();
            strSql.Append("delete from T_Node ");
            strSql.Append(" where "+WhereString);

            int rows = DbHelperSQL.ExecuteSql(strSql.ToString());
            if (rows > 0)
            {
                return true;
            }
            else
            {
                return false;
            }
        }

    }
}

